﻿using System;

namespace CH.FourBoards.LagerWalti.Persistence.Entities
{
    public class Transaction : IEntity
    {
        #region Key, System, Meta

        public int Id { get; set; }

        #endregion

        # region Properties

        public DateTime Date { get; set; }
        public int TypeId { get; set; }
        public int ProductId { get; set; }
        public int Quantity { get; set; }

        #endregion

        # region Navigation Properties

        public virtual TransactionType Type { get; set; }
        public virtual Product Product { get; set; }

        #endregion
    }
}
